package com.ruoyi.project.instrument.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 仪器维护记录对象 ins_maintain_log
 * 
 * @author taney
 * @date 2020-06-10
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ins_maintain_log")
public class InsMaintainLog implements Serializable {

private static final long serialVersionUID=1L;


    /** 自增ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /** 维护人ID */
    private String userid;

    /** 维护人 */
    @Excel(name = "维护人")
    private String username;

    /** 维护时间 */
    @Excel(name = "维护时间" , width = 30, dateFormat = "yyyy-MM-dd HH:ss:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date maintainTime;

    /** 维护类型 */
    @Excel(name = "维护类型")
    private String maintainType;
}
